//
//  SJZHexiaoFailureViewController.m
//  SJZBusiness
//
//  Created by 彭利民 on 2018/5/7.
//  Copyright © 2018年 bwton. All rights reserved.
//

#import "SJZHexiaoFailureViewController.h"

@interface SJZHexiaoFailureViewController ()
@property (strong, nonatomic) IBOutlet UILabel *faileLabel;

@end

@implementation SJZHexiaoFailureViewController

//- (instancetype)initWithFaile:(NSString *)fail{
//
//    if (self == [super init]) {
//        self.faileLabel.text = fail;
//    }
//    return self;
//}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"核销失败";
    
    self.view.backgroundColor = [UIColor colorWithRed:240/255.0 green:238/255.0 blue:238/255.0 alpha:1];
    
    self.faileLabel.text = self.fail;

}

- (IBAction)doneAction:(UIButton *)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
    
}





- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
